package com.baixw.singleton;

public class TestSingleton {
    public static void main(String[] args) {
        Singleton1 instance1 = Singleton1.INSTANCE;
        Singleton2 instance2 = Singleton2.INSTANCE;
        Singleton3 instance3 = Singleton3.INSTANCE;
        System.out.println("instance1：" + instance1);
        System.out.println("instance2：" + instance2);
        System.out.println("instance3：" + instance3);


    }
}
